﻿iwr https://api.github.com/repos/hez2010/TypedocConverter/releases `
| ConvertFrom-Json `
| Select-Object id,name,url,body,assets `
| Sort-Object -desc { $count = 0; $_.assets | % { $count += $_.download_count }; $count } `
| % { ($_.body | ConvertFrom-Markdown).Html > $($_.id.ToString() + '.html'); [pscustomobject]@{Id=$_.id;Name=$_.name;Url=$_.url} }